<!DOCTYPE html>
<html xmlns:th="http://thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.7 -->
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css}"/>
    <!-- Font Awesome -->
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/font-awesome/css/font-awesome.min.css}"/>
    <!-- Ionicons -->
    <link rel="stylesheet" th:href="@{/adminlte/bower_components/Ionicons/css/ionicons.min.css}">
    <!-- Theme style -->
    <link rel="stylesheet" th:href="@{/adminlte/dist/css/AdminLTE.min.css}">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" th:href="@{/adminlte/dist/css/skins/_all-skins.min.css}">


    <!-- Google Font -->
    <link rel="stylesheet"

          href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
    <!-- jQuery 3 -->
    <script th:src="@{/adminlte/bower_components/jquery/dist/jquery.min.js}"></script>

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <div th:replace="/common/header :: header"></div>
    <!-- Left side column. contains the logo and sidebar -->
    <div th:replace="/common/menu :: menu"></div>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                审核意见修改
                <small>Preview</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                <li><a href="#">Forms</a></li>
                <li class="active">General Elements</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
                <div class="col-md-6">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">Quick Example</h3>
                        </div>
                        <!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" th:action="@{/applications/save}" method="post" th:object="${applications}">
                            <div class="box-body">
                                <!--                                <div class="form-group">-->
                                <!--                                    <label for="doorId">doorid</label>-->
                                <!--                                    <input type="text" name="doorId" id="doorId" class="form-control"-->
                                <!--                                           th:field="*{doorId}">-->
                                <!--                                </div>-->
                                <div class="form-group">
                                    <label for="userId">申请人ID</label>
                                    <input type="hidden" class="form-control" name="applicationId" th:field="*{applicationId}">
                                    <input type="text" disabled="disabled" id="userId" class="form-control" th:field="*{userId}">
                                    <input type="hidden" th:field="*{userId}" name="userId">
                                </div>

                                <div class="form-group">
                                    <label for="applicationThings">申请内容</label>
                                    <input type="text"  id="applicationThings" disabled="disabled" class="form-control" th:field="*{applicationThings}">
                                    <input type="hidden" th:field="*{applicationThings}" name="applicationThings">
                                </div>
                                <div class="form-group">
                                    <label for="applicationbsck">申请状态</label>
                                    <input type="text" disabled="disabled" id="applicationbsck" class="form-control" th:field="*{applicationbsck}">
                                    <input type="hidden"th:field="*{applicationbsck}"  name="applicationbsck" >
                                </div>
                                <div class="form-group">
                                    <label for="opinion">审核意见</label>
                                    <input type="text" name="opinion" id="opinion" class="form-control" th:field="*{opinion}">
                                </div>

                            </div>
                            <!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">提交</button>
                                <a href="/applications/search">
                                    <button id="createBtn" type="submit" class="btn btn-info" style="margin-left: 30px">取消</button>
                                </a>
                            </div>
                        </form>
                    </div>
                    <!-- /.box -->


                </div>
                <!--/.col (left) -->
                <!-- right column -->

                <!--/.col (right) -->
            </div>
            <!-- /.row -->
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <div th:replace="/common/footer :: footer"></div>

    <!-- Control Sidebar -->

    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->


<!-- Bootstrap 3.3.7 -->
<script th:src="@{/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js}"></script>
<!-- FastClick -->
<script th:src="@{/adminlte/bower_components/fastclick/lib/fastclick.js}"></script>
<!-- AdminLTE App -->
<script th:src="@{/adminlte/dist/js/adminlte.min.js}"></script>
<!-- AdminLTE for demo purposes -->
<script th:src="@{/adminlte/js/demo.js}"></script>
</body>
</html>
